package com.cat.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "分页结果")
public class PageDTO<T> {

    @Schema(description = "当前页")
    private Long pageNum;

    @Schema(description = "总条数")
    private Long total;

    @Schema(description = "总页数")
    private Long pageSize;

    @Schema(description = "集合")
    private List<T> list;

}
